package com.longcai.cm.pay.ali;


import com.longcai.cm.common.constant.DomainConfig;

/**
 * @author libingxing
 */
public class AliPayConfig {

    /**
     * 商户appid
     */
    public static String APP_ID = "2021004169697334";

    /**
     * 私钥 pkcs8格式的
     */
    public static String RSA_PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDp6Fs5ecdHdpvxbx9ZptAhUsSsje+5C75bgOSU+dmtiUfC6TUzGqGJLXWHVs8YHD1vU8dScXCAFzJyniGTtV7cjNQMxhC0M4nwa/uZJl9VxxS8mKNvS+yFyvt6Ql9Fcht6USP1VE9vELv8Hlkp440U+Dbq0WhTyC149JNc7cFCz19b//9asUr3zyz4Muya+zkGPUv8J+DPKWF+eCTYcFpGnemvUfLac/Iwj+FGlO5r81aln7AM3qqMAJW3I/3pvs/LeLbORsC2Kv6+fGLsr9s+EycR/0U6MprrbjI6ZtbPG4/9Yq7yDTDzB5h/VSIqYNBLAH7167Ud24QaKbyhAVZ7AgMBAAECggEAX88I7rXu5lqy7WWy1an6PmwEmxlYQ9eHlTtqZYshmm9MsY2MeO5DlEjGhzULhriqgVsznZVRm2XlCAW1gycbQAN/J+xJE0a5DX1thQGusxfkaourBf93ViYac62UEIH4t1VdATQThU65cT+NDhdixmAVPoGf1hF8brrfUYUhUBeQO4Nft3hLsC2HdMw6JtBL0isf7nlrWyUD1oOmuUvJfGIO1W3PAHo6g0H5SH6FLn669pdv7JBBh8MbJ1CFUjXocj0N6hJbyI1O8AMdd1w3huFhrdqVo2Km7wFOvPpGIkAe2/zBj5pWRFH5SFIYapxEq1PpjhG5ucyN5alPw6UAAQKBgQD+siadm260RdotI/dnbMZW4B2/PHVqujqqOhs+dx6KfpvFZYQc79VfsyDgviAa3NSQhteVQfPayQ9box/OZf7+MnkaFPUCoZTt8+3JNUhy9fChomOjgdmWy/M6juDK1C2Vahz7MoKcu6cg9TNYIdwh32Io8Gz0id/cyl/u/ypAAQKBgQDrGvTuSglNB7LH4mNHWrz24IQo55XVhLxfWCCnsltIls3P/WQNPrhoK+kG6wdBEUa8wwRQT9r/v9irxPEuw4mMoLCSUXt+utFGB+o2vcIhQw1/TTxPE42Ff9+x/jcXpeFD98DcozzbaQC+FqF+/iLOAmfHQk6m1XVhoqZQRjSWewKBgQDoW4TpMl0rr7JcjjxuKYlExo+84J5KMP3GQN6L/UZqmRjpXDTL5W1nMldjUXCesSpnc+0HqTScO+N7+XTR6rFYHJno1oezz8+7ylb7wlWHM6JFA44dJCBq90O9/41K3Yl8j2NDNBB+hp/xbGFcHP/kExRNPxJXgdUua55bvoRAAQKBgB/rnwmjX7PnsaxV3mjXtwRF42uyVbORvAmt63EZVC982iC9JJJvy5XJMHBSBMAe2l3SlIla7j7/Cyn3KU/SGKDRSGf1TDEeqD87397i0LK3aeO41tFdtD9F51dBTrWVPgp+Xt8WArM/hGxKok6drpgN141EQW2BWdiRvsbzYTx1AoGBAJcsb1qF9Gke9O++hVbMDFliY4PBlgKlG2m41S007TW0CezntwlKhK9qoUVUxWX6D4+IUencva8yQI76fM/oBt8MMqfK1mPPd36L/Cby/Kl8XZyBhb6taUOwdytGr2dLGP98wARKv+en0f2uy2DK/d4ATr1AeMCGv4GM6KVkxdWU";

    /**
     * 服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
     */
    public static String notify_url = DomainConfig.LOCALHOST + "/CM-API/api/order/aliRecharge";

    /**
     * 页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
     * 商户可以自定义同步跳转地址
     */
    public static String return_url = "";

    /**
     * 请求网关地址
     */
    public static String URL = "https://openapi.alipay.com/gateway.do";

    /**
     * 沙箱地址
     */
    public static String SANDBOX_URL = "http://openapi.alipaydev.com/gateway.do";

    /**
     * 编码
     */
    public static String CHARSET = "utf-8";

    /**
     * 返回格式
     */
    public static String FORMAT = "JSON";

    /**
     * 支付宝公钥
     */
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA00N1Pi6DfyulLJg1izYpsIPa83YKQ98WQ0+yeQaw1SB99iUk1geMyxFTt+lf/tOsmQiVLNK3dWLM7ybRBLBWbCZtcfef+PNSczOaDHW1C7eCVgsREfLPwbs8VfgA1V88ks1A4rxdVWRHVOKpKfWJNbDS3LtQNVUOaqoRhoYErpNhN3ATKvQ55mOAZV95R4itZ+0ueG/hK9XmCQ5KHenui77Rk3UkSZCBJ31ukGjPfArfeZgngyETBSCDzwIIDndLC9EBSfGZVtUyFQ7mMnDosCbOYXOhQakQMW4zGyQzhIn35FDV5izp4FEDJfBWwmWOMdKq/O/c2dEVLMFjo1zz4wIDAQAB";
    /**
     * 日志记录目录
     */
    public static String log_path = "/log";

    /**
     * RSA2
     */
    public static String SIGNTYPE = "RSA2";

    /**
     * 产品类型
     */
    public final static String PRODUCT_CODE = "QUICK_MSECURITY_PAY";

    /**
     * 请求超时
     */
    public final static String TIMEOUT_EXPRESS = "30m";

    /**
     * 退款申请成功代码
     */
    public final static String REFUND_APPLY_SUCCESS_CODE = "10000";

}
